<template>
	<div class="app">
		<Category title="美食" :listData="foodUrl"/>
		<Category title="游戏" :listData="games"/>
		<Category title="电影" :listData="movieUrl"/>
	</div>
</template>

<script>
	import Category from './components/Category'

	export default {
		name:'App',
		components:{Category},
		data() {
			return {
				foodUrl:'https://s3.ax1x.com/2021/01/16/srJlq0.jpg',
				games:['王者农药','绝地求生','红色警戒','英雄联盟'],
				movieUrl:'http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4'
			}
		},
	}
</script>

<style>
	.app{
		display: flex;
		justify-content: space-around;
	}
</style>